Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to export Module Views through ReqIF?

 Despite seeing the option to export Shared Module Views in the ReqIF Views menu, we couldn't make this work. 

We first created a ReqIF definition just with the View definition and tried importing it into another project.
Then we tried a ReqIF definition containing both a Module and the View and importing.

In both cases the import report indicates the view was imported successfully, but it didn't show in the target projects neither on existing modules nor on brand new modules..

Is there any additional step to make this work that we're missing?

(Tried both on 5.0 and 5.0.2 servers)

0 votes

Comments

It's new to me too. For me the module view only appear in the module that gets imported from the ReqIF file.

 Hi Donald.


In our case, not even that worked (considering our attempt with a ReqIF definition with both the Module and the Shared Module View).

I couldn't find any defects on jazz.net about this and since it's a feature that's been around for a while I'm thinking a defect would've been filed by now if it was as broken as it seems to us.
That's why I'm thinking there must be an additional step. We just couldn't figure out what it'd be.


Accepted answer

Permanent link
After some testing and reading, I believe that we just misunderstood how the view in the ReqIF definition should work.

First of all, let's keep in mind that "view filtering information" cannot be exported using ReqIF. It's disappointing but it's clearly documented.
https://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.2/com.ibm.rational.rrm.help.doc/topics/t_export_reqif.html

So what is left? Well, view column information.

When you export the view only, without any modules, the view in the ReqIF file actually contains, nothing, not even the column information! When you import such ReqIF file, the nothingness goes on. The successfully imported view (you can find a nice URL in the report), contains nothing as well. Technically speaking, it contains "something" - see blow.
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:rm="http://www.ibm.com/xmlns/rdm/rdf/" xmlns:owl="http://www.w3.org/2002/07/owl#">
  <rm:AttributeType rdf:about="https://clm502.sydney.rcs:9443/rm/types/_gYF_sYQIEeSRa8q69DjUmA">
    <rm:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <owl:sameAs rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <dcterms:title>String</dcterms:title>
  </rm:AttributeType>
</rdf:RDF>
When you export the view with a module, the view column information is exported into the ReqIF file. And when importing such file, the view _should_ be created against the module as long as you can see the same view in the original module.

I hope it is clear enough now.
Taly Hotimsky selected this answer as the correct answer

0 votes

Comments

 Hi Donald.


Thanks for the response.
Based on it I see room for an enhancement request (ie. I don't think the ReqIF should allow "nothing" to be exported) and a PMR (as even exporting the module and the view in the same ReqIF we couldn't get the view to be imported).
I'll add the enhancement link here once I've opened it.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 38
× 38
× 37

Question asked: Aug 25 '15, 12:32 p.m.

Question was seen: 3,780 times

Last updated: Aug 27 '15, 9:31 a.m.

Confirmation Cancel Confirm